<%@ page contentType="text/html;charset=UTF-8"%>
<!--登录-->
    <div id="login">
      <div class="container">
        <div class="navbar-left">
                         您好，欢迎光临木交中心！发售交易
        </div>
      
        <div class="navbar-right">
        <script src="${ctx}/js/tools-login.js"></script>
         <c:if test="${empty loginUser }">
	      <a href="javascript:void(0)" onclick="loginIndex()">登录</a> | 
          <a href="#projets" onclick="regIndexT()">注册</a>
	     </c:if>
         <c:if test="${!empty loginUser }">
				    欢迎您：<a class="dropdown-toggle" data-toggle="dropdown" href="#">${loginUser.userEname}</a> |
				   
					     <c:if test="${loginUser.userType =='manager' }">
			    			<!-- <a href="${ctx}/sendPage/bjfs/admin/index"><i class="fa fa-users"></i> 发售后台</a> |  -->
			    			<a href="${ctx}/sendPage/sale/admin/index"><i class="fa fa-users"></i> 发售后台</a> | 
			    		</c:if>
			    		<c:if test="${loginUser.userType !='manager' }">
 			    			<a href="${ctx}/sendPage/sale/web/user/index" title="发售会员中心"><i class="fa fa-user fx2"></i> 会员中心</a>
<!--			    			<a href="${ctx}/sendPage/default/web/user/index" title="会员中心"><i class="glyphicon glyphicon-user"></i> 会员中心-农e通</a>
			    			<a href="http://spts.dwusoft.com/usercenter/index.action" title="会员中心"><i class="glyphicon glyphicon-user"></i> 会员中心-发售交易</a>
	 -->		    		</c:if>
			    		<a href="javascript:void(0)" onclick="logout()"><i class="glyphicon glyphicon-off"></i> 退 出</a>
				
			</c:if>
      
        </div>
      </div>
    </div>
    
